CC = g++ -O3 -march=opteron -m64 -mfpmath=sse -funroll-loops -ffast-math -lpthread
OBJECTS = tools2.o ScanData2.o pocs2.o P1hilbert2.o P2compact2.o P3apriori2.o P4fproject2.o P5nonneg2.o
pocs2: $(OBJECTS)
	$(CC) $(OBJECTS) -o bin/exec/pocs2
tools2.o: tools2.cpp pocs2.h ScanData2.h includes2.h
	$(CC) -c tools2.cpp
ScanData2.o: ScanData2.h ScanData2.cpp includes2.h
	$(CC) -c ScanData2.cpp
pocs2.o: pocs2.h pocs2.cpp includes2.h
	$(CC) -c pocs2.cpp
P1hilbert2.o: pocs2.h P1hilbert2.cpp includes2.h
	$(CC) -c P1hilbert2.cpp
P2compact2.o: pocs2.h P2compact2.cpp includes2.h
	$(CC) -c P2compact2.cpp
P3apriori2.o: pocs2.h P3apriori2.cpp includes2.h
	$(CC) -c P3apriori2.cpp
P4fproject2.o: pocs2.h P4fproject2.cpp includes2.h
	$(CC) -c P4fproject2.cpp
P5nonneg2.o: pocs2.h P5nonneg2.cpp includes2.h
	$(CC) -c P5nonneg2.cpp

clean:
	rm *.o ../bin/exec/pocs2 *~
cleanobj:
	rm *.o
